package com.itcam.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itcam.model.common.dtos.ResponseResult;
import com.itcam.model.wemedia.dtos.SensitiveDto;
import com.itcam.model.wemedia.pojos.WmSensitive;

/**
 * @author : Cammy.Wu
 * Description : 
 */


public interface WmSensitiveService extends IService<WmSensitive> {


    /**
     * 删除
     * @param id
     * @return
     */
    ResponseResult delete(Integer id);

    /**
     * 查询列表
     * @param dto
     * @return
     */
    ResponseResult list(SensitiveDto dto);

    /**
     * 保存
     * @param wmSensitive
     * @return
     */
    ResponseResult insert(WmSensitive wmSensitive);

    /**
     * 修改
     * @param wmSensitive
     * @return
     */
    ResponseResult update(WmSensitive wmSensitive);
}
